<?php if(count($notifications)): ?>
<?php foreach($notifications as $notification):?>
<li>
        <div class="list_main_container">
                <img src="<?php echo $notification['user_photo'];?>" alt="<?php echo $notification['user_name'].' '.$notification['user_surname'] ?>"/> 
                <div class="list_user_link"><a href="/desktop/<?php echo $notification['user_url'] ?>" class="desktop_link" title="<?php echo __('show desktop')?>"></a><a href="/profile/<?php echo $notification['user_url']?>" class="profile_link" title="<?php echo __('show profile') ?>"></a></div>  
                <div style="width: 280px">
                     <p class="mini_name ellipsis_character"><?php echo $notification['user_name'].' '.$notification['user_surname'] ?></p>
                     <p class="mini_info ellipsis_word"><?php echo $notification['title']?></p>
                </div>
        </div>
</li>
<?php endforeach ?>
<?php else: ?>
            <li>
                <div class="list_main_container">
                    <div class="list_standard_entre" style="text-align: center; float: none; padding-left: 0px"><?php echo __('no notifications to show') ?></div>                   
                </div>
            </li>
<?php endif ?>